home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
426-450
/
disk_445
/
turbotext
/
support
/
ttx_standard.dfn
< prev
next >
Wrap
Text File
|
1992-05-06
|
19KB
|
556 lines
/** $VER: TTX_Standard.dfn Demo 1.0 (11.1.91)
**
** This definition file provides equivalents of TurboText's internal defaults.
**
** Written by Martin Taillefer
**/
MENUS:
/***************************************************************************
* The MENUS section describes the menus presented by TurboText along with
* the commands associated with them.
*
* The format for the lines in this section is one of the following:
* MENU <menu name>
* ITEM <item name> <keyboard shortcut> <command> [command parameters]
* BAR
* SUB <sub-item name> <keyboard shortcut> <command> [command parameters]
* SBAR
***************************************************************************/
MENU " Project "
ITEM "Open..." "O" OpenFile
ITEM "Open New..." "Y" OpenDoc FileReq
BAR
ITEM "Save" "S" SaveFile
ITEM "Save As..." "A" SaveFileAs
BAR
ITEM "Clear" "K" ClearFile
ITEM "Print" "P" PrintFile
ITEM "Info..." "?" OpenRequester Info
BAR
ITEM "Close Window" "Q" CloseDoc
MENU " Windows "
ITEM "New" "W" OpenDoc
ITEM "Activate Next" "0" ActivateNextDoc
ITEM "Activate Previous" "1" ActivatePrevDoc
BAR
ITEM "Split View" "\" SplitView Toggle
ITEM "Toggle View" "T" SwitchView
ITEM "Expand View" ";" SizeView 1
ITEM "Shrink View" ":" SizeView -1
ITEM "Center View" "'" CenterView
BAR
ITEM "Show Calculator..." "#" ExecTool "RUN >NIL: <NIL: TurboText:TTXCalc TURBOTEXT"
ITEM "Show Hex..." "$" OpenRequester Hex
ITEM "Show Console..." "." ExecARexxMacro Console REXX:CmdShell
MENU " Edit "
ITEM "Mark" "B" MarkBlk
ITEM "Cut" "X" CutBlk
ITEM "Copy" "C" CopyBlk
ITEM "Paste" "V" PasteClip
ITEM "Erase" "E" DeleteBlk
BAR
ITEM "Mark Vertical" "<" MarkBlk Vertical
ITEM "Paste Vertical" ">" PasteClip Vertical
BAR
ITEM "Open Clip..." "!" OpenClip
ITEM "Save Clip As..." "_" SaveClip NoBackup
ITEM "Print Clip" "*" PrintClip
MENU " Search "
ITEM "Find..." "F" OpenRequester Find
ITEM "Find Next" "N" Find
ITEM "Find & Change..." "/" OpenRequester FindChange
BAR
ITEM "Go To Line #..." "J" Move
ITEM "Go To Last Change" "G" MoveLastChange
ITEM "Go To Auto-Bookmark" "," MoveAutomark
ITEM "Match Bracket" "[" MoveMatchBkt
MENU " Macros "
ITEM "Record Macro" "R" RecordMacro
ITEM "Stop Recording" "H" EndMacro
ITEM "Play Macro" "M" PlayMacro 1
ITEM "Play Many..." "I" PlayMacro
BAR
ITEM "Open Macro..." "2" OpenMacro
ITEM "Save Macro As..." "" SaveMacro
BAR
ITEM "Exec ARexx..." "3" ExecARexxMacro
MENU " Folds "
ITEM "Make Fold" "(" MakeFold
BAR
ITEM "Show Fold" "+" ShowFold
ITEM "Hide Fold" "-" HideFold
ITEM "Unmake Fold" ")" UnmakeFold
BAR
ITEM "Show Nested Folds" "" ShowFold Nested
ITEM "Hide Nested Folds" "" HideFold Nested
ITEM "Unmake Nested Folds" "" UnmakeFold Nested
BAR
ITEM "Show All Folds" "" ShowFold All
ITEM "Hide All Folds" "" HideFold All
ITEM "Unmake All Folds" "" UnmakeFold All
MENU " Extras "
ITEM "Undelete Line" "D" UndeleteLine
ITEM "Undo Line" "Z" UndoLine
BAR
ITEM "Center" "^" Center
ITEM "Justify" "=" Justify
ITEM "Format Paragraph" "]" FormatParagraph
BAR
ITEM "Conv To Upper Case" "U" Conv2Upper
ITEM "Conv To Lower Case" "L" Conv2Lower
ITEM "Conv Tabs To Spaces" "" Conv2Spaces
MENU " Prefs "
ITEM "Display..." "4" OpenRequester DisplayPrefs
ITEM "Edit..." "5" OpenRequester EditPrefs
ITEM "File..." "6" OpenRequester FilePrefs
BAR
ITEM "Open Prefs..." "7" OpenPrefs
ITEM "Save Prefs As..." "8" SavePrefs
ITEM "Save As Defaults" "9" SaveDefPrefs
BAR
ITEM "Open Defs..." "%" OpenDefinitions
#
KEYBOARD:
/***************************************************************************
* The KEYBOARD section describes which commands are associated with which
* keyboard sequences.
*
* The format for the lines in this section is:
* <keyboard sequence> <command> [command parameters]
*
* where: <keyboard sequence> describes a complete sequence of keys to press
* to cause a command invocation. The keys can include any key found
* on your keyboard. Some keys do not represent simple characters,
* you must specify those keys using the following names:
*
* CURSOR_UP CURSOR_DOWN CURSOR_RIGHT CURSOR_LEFT
* TAB ESC DEL BACKSPACE HELP RETURN SPACEBAR
* ENTER F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
* NP_DEL NP_DOWN NP_END NP_HOME NP_INS NP_LEFT NP_NUML
* NP_PGDN NP_PGUP NP_PRTSC NP_RIGHT NP_SCRL NP_UP
* PAGE_UP PAGE_DOWN INSERT PAUSE BREAK HOME END
*
* In addition, the following key qualifiers can be applied to any
* key:
*
* SHIFT ALT CTRL LEFT_AMIGA NUM_PAD META META2
* MODE MODE2 MODELESS NOREPEAT
*
* <command> [command parameters] can be any of the commands
* documented in Appendix A of the user's manual.
***************************************************************************/
RETURN InsertLine
ENTER InsertLine NoBreak Indent
F1 CorrectWord
F2 CompleteTemplate
F3 ToggleCharCase
F4 SwapChars
F5 IconifyWindow Toggle
CURSOR_UP MoveUp
CURSOR_DOWN MoveDown
CURSOR_RIGHT MoveRight
CURSOR_LEFT MoveLeft
HELP OpenDoc NAME TurboText:Support/TTX_Help.txt
HOME MoveSOF
END MoveEOF
INSERT SetPrefs Overstrike Toggle
PAGE_UP MoveUpScr
PAGE_DOWN MoveDownScr
CTRL-B SetPrefs MakeBackups Toggle
CTRL-C SetPrefs CorrectCase Toggle
CTRL-D ExecARexxString "Insert Date()"
CTRL-F SetPrefs FreeForm Toggle
CTRL-I SetPrefs AutoIndent Toggle
CTRL-O SetPrefs Overstrike Toggle
CTRL-Q SetQuoteMode On
CTRL-R SetReadOnly Toggle
CTRL-T ExecARexxString "Insert Time()"
CTRL-W SetPrefs WordWrap Toggle
CTRL-CURSOR_RIGHT ShiftRight
CTRL-CURSOR_LEFT ShiftLeft
CTRL-DEL DeleteLine
ALT-F1 MoveBookmark 1
ALT-F2 MoveBookmark 2
ALT-F3 MoveBookmark 3
ALT-F4 MoveBookmark 4
ALT-F5 MoveBookmark 5
ALT-F6 MoveBookmark 6
ALT-F7 MoveBookmark 7
ALT-F8 MoveBookmark 8
ALT-F9 MoveBookmark 9
ALT-F10 MoveBookmark 10
ALT-F11 MoveBookmark 11
ALT-F12 MoveBookmark 12
ALT-CURSOR_UP MoveSOF
ALT-CURSOR_DOWN MoveEOF
ALT-CURSOR_RIGHT MoveEOL
ALT-CURSOR_LEFT MoveSOL
ALT-BACKSPACE DeleteSOL
ALT-DEL DeleteEOL
SHIFT-F1 SetBookmark 1
SHIFT-F2 SetBookmark 2
SHIFT-F3 SetBookmark 3
SHIFT-F4 SetBookmark 4
SHIFT-F5 SetBookmark 5
SHIFT-F6 SetBookmark 6
SHIFT-F7 SetBookmark 7
SHIFT-F8 SetBookmark 8
SHIFT-F9 SetBookmark 9
SHIFT-F10 SetBookmark 10
SHIFT-F11 SetBookmark 11
SHIFT-F12 SetBookmark 12
SHIFT-CURSOR_UP MoveUpScr
SHIFT-CURSOR_DOWN MoveDownScr
SHIFT-CURSOR_RIGHT MoveNextWord
SHIFT-CURSOR_LEFT MovePrevWord
SHIFT-BACKSPACE DeleteSOW
SHIFT-DEL DeleteEOW
SHIFT-TAB MovePrevTabStop
#
HOT_KEYS:
/***************************************************************************
* The HOT_KEYS section describes which commands are associated with special
* "hot key" sequences. These sequences can be invoked from within any
* application, and will automatically be picked up by TurboText.
*
* The format for the lines in this section is:
* <keyboard sequence> <command> [command parameters]
*
* where: <keyboard sequence> describes a complete sequence of keys to press
* to cause a hot key command invocation. The keys can include any key
* found on your keyboard. Some keys do not represent simple
* characters, you must specify those keys using the following names:
*
* CURSOR_UP CURSOR_DOWN CURSOR_RIGHT CURSOR_LEFT
* TAB ESC DEL BACKSPACE HELP RETURN SPACEBAR
* ENTER F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
* NP_DEL NP_DOWN NP_END NP_HOME NP_INS NP_LEFT NP_NUML
* NP_PGDN NP_PGUP NP_PRTSC NP_RIGHT NP_SCRL NP_UP
* PAGE_UP PAGE_DOWN INSERT PAUSE BREAK HOME END
*
* In addition, the following key qualifiers can be applied to any
* key:
*
* SHIFT ALT CTRL LEFT_AMIGA NUM_PAD
*
* <command> [command parameters] can be one of:
*
* SetBackground OFF
* OpenDoc
* OpenDoc FileReq
* Screen2Front
* ActivateLastDoc
***************************************************************************/
CTRL-ALT-A ActivateLastDoc
CTRL-ALT-O OpenDoc FileReq
CTRL-ALT-S Screen2Front
CTRL-ALT-U SetBackground OFF
CTRL-ALT-W OpenDoc
#
MOUSE_BUTTONS:
/***************************************************************************
* The MOUSE_BUTTONS section describes which commands are associated with
* the six supported mouse button sequences.
*
* The format for the lines in this section is:
* <mouse sequence> <command> [command parameters]
*
* where: <mouse sequence> is one of the six available mouse sequences:
*
* LEFTMIDDLE - depress left button and click middle button
* LEFTRIGHT - depress left button and click right button
* MIDDLELEFT - depress middle button and click left button
* MIDDLERIGHT - depress middle button and click right button
* DOUBLELEFT - double click the left button
* DOUBLEMIDDLE - double click the middle button
*
* <command> [command parameters] can be any of the commands
* documented in the Appendix A of the user's manual.
*
* Note that the standard Amiga mouse does not have a middle button,
* which implies the LEFTMIDDLE, MIDDLELEFT, MIDDLERIGHT and
* DOUBLEMIDDLE sequences are not available unless a special three
* button mouse is being used. Additionally, the middle mouse button
* is only supported by AmigaDOS 2.0 and beyond.
***************************************************************************/
DOUBLELEFT MarkBlk
DOUBLEMIDDLE MarkBlk Vertical
LEFTRIGHT MoveAutomark
LEFTMIDDLE MakeFold
MIDDLERIGHT ToggleFold
#
DICTIONARY:
/***************************************************************************
* The DICTIONARY section is a simple list of words used by TurboText's
* advanced Case Correction and Word Correction features. Simply enumerate
* all the words you wish to have TurboText know about, one per line.
***************************************************************************/
#
TEMPLATES:
/***************************************************************************
* The TEMPLATES section is a simple table used by TurboText's advanced
* Template completion feature. Simply list all the templates you wish
* TurboText know about, one template per line. The special character sequence
* *n is used whenever you wish to have TurboText enter a <RETURN> character
* in the template. The special character _ indicates that the cursor should
* be positioned on the following character after the template has been
* inserted.
***************************************************************************/
#
TEXT_STRINGS:
/***************************************************************************
* The TEXT_STRINGS section is a simple text table containing all the
* text used by TurboText. Any line of this table can be changed to present
* different text. This is meant mainly for internationalizing TurboText by
* providing text tables in various languages.
*
* The special character _ is used to indicate that the next character
* should be used as a keyboard shortcut. This is only applicable when a
* text string is associated with a gadget.
*
* The lines in this table should be kept to reasonable lengths, otherwise
* the screen formatting will suffer.
***************************************************************************/
"_Use" /* used for positive responses */
"_Cancel" /* used for negative responses */
/* Display Prefs requester */
"Display Prefs" /* title */
"_Display Type"
"Workbench|2 Color Screen|4 Color Screen|2 Color Lace Screen|4 Color Lace Screen|2 Color LoRes Screen|4 Color LoRes Screen"
"Screen _Width"
"Screen _Height"
"Clone Workbench Si_ze"
"Font _Name"
"Font _Size"
"_Red"
"_Green"
"_Blue"
"Select New _Font..."
"Select Font to Use"
/* Edit Prefs requester */
"Edit Prefs" /* title */
"_Auto-Indent"
"Corr_ect Case"
"_Free Form"
"_Overstrike"
"_Strip EOL Blanks"
"_TAB --> Spaces"
"Trans_late CRs"
"_Word Wrap"
"TAB Wi_dth"
"_Right Margin"
"ARe_xx Console"
"S_how End Of File"
"Show _End Of Lines"
"Show S_paces"
"Show Ta_bs"
/* File Prefs requester */
"File Prefs" /* title */
"_Load/Save Project Icons"
"_Icon Tool"
"_Auto-Save"
"Auto-Save _Delay"
"Confirm Auto-_Saves"
"_Make Backups"
"Ma_x Backup Versions"
"_Backup Template"
"_Print Device"
/* Find and Change requester */
"Find" /* title for Find requester */
"Find & Change" /* title for Find & Change requester */
"_Find" /* Find text gadget */
"_Change" /* Change text gadget */
"Find _Next"
"C_hange"
"Change _All"
"_Ignore Accents"
"I_gnore Case"
"_Only Whole Words"
"_Scan Backwards"
"Replaced "
/* File requester */
"<ASGN> " /* used to indicate logical assignments */
"<DRW> " /* used to indicate drawers (directories) */
"<VOL> " /* used to indicate volumes with no device */
"P_attern" /* Pattern text gadget */
"_Drawer"
"_File"
"_Volumes"
"_Parent"
"_Open" /* positive gadget in file requester */
"Select File to Open as Clip"
"Select File to Open"
"Select File to Open as Macro"
"Select File to Open as Prefs"
"Select File to Open as Definitions"
"_Save" /* positive gadget in file requester */
"Select FIle to Save as Clip"
"Select File to Save"
"Select File to Save as Macro"
"Select File to Save as Prefs"
"_Exec" /* positive gadget in file rwquester */
"Select File to Execute as ARexx Macro"
/* Info requester */
"TurboText Information" /* title */
"ARexx port name"
"Visible lines"
"Folded lines"
"Total lines"
"Characters"
"Average chars/line"
"Available memory"
/* Various simple requesters */
"Go To Line # ?"
"Play How Many?"
"Printing..."
"Hex View"
/* Yes/No requesters */
"_Yes"
"_Cancel"
"_OK"
"_Continue"
"_Abort"
"TurboText Confirmation Request"
" Open without saving changes?"
" Clear without saving changes?"
" Close without saving changes?"
"Discard file?"
"WARNING: File cannot be recovered"
"Attempt to create backup file as"
"failed. Save anyway?"
"Auto-save request for"
"Save this file?"
"Incorrect Def. File Format"
"on line #"
" in file"
"TurboText Memory Panic!"
" No memory for requested operation!"
"TurboText Screen"
"Trying to close TurboText screen,"
"please close all non-TurboText"
"windows on this screen."
/* ASCII parser errors */
"Invalid command specification"
"Invalid keyboard sequence"
"Invalid mouse sequence"
"Unknown MENUS directive"
"Incorrect MENU specification"
"Incorrect ITEM specification"
"Incorrect SUB specification"
"Incorrect Hot Key command"
"Templates must start with a letter"
/* TurboText general errors */
" Not enough memory!"
" Hit document boundary!"
" Not found!"
" Not on {,[,(,},] or ) !"
" More '?' in 'Change' than in 'Find'!"
" User requested abort!"
" Not allowed in read-only mode!"
" Not currently recording!"
" No block marked!"
" Clipboard device not found!"
" Clipboard is empty!"
" Clipboard does not contain text!"
" Clipboard I/O error!"
" ARexx process or library not found!"
" Bookmark not set!"
" Bookmark not found!"
" No fold on current line!"
" Already a fold on current line!"
" No macro to play!"
" Template or word not found!"
" Not enough characters for Comp.Temp.!"
" Too many characters!"
" Illegal while recording!"
" Illegal command or arguments!"
" Cmd only allowed in ARexx macros!"
" Loading..."
" Saving..."
" Printing..."
" Searching..."
" Working..."
" Bookmark set"
" Couldn't execute tool!"
" ARexx error"
" Load error"
" Save error"
" Print error"
" Backup error"
" - not saved!"
"DOS code "
"bBcCfFiImMoOrRwW" /* for status area */
#
LINKS:
/***************************************************************************
* The LINKS section is a simple list of extra definition files to read
* in addition to this one. The files specified here are treated just like
* if their contents was included within this definition file directly.
* The way this operates is identical to the C programming language's
* INCLUDE directive.
***************************************************************************/
#